import { OrderComboDetail, OrderComboDetailService } from './view/orderComboDetail';
import { SharedModule } from './../../shared.module';
import { MessageBoxService } from './../../component/messageBoxService';
import { NavigateService } from './../../service/navigate.service';
import { TableService } from './../../service/table.service';
import { CartService } from './../../service/cart.service';
import { InventoryService } from './../../service/inventory.service';
import { OrderTable } from './view/orderTable';
import { OrderMore, OrderMoreService } from './view/orderMore';
import { OrderDetail, OrderDetailService } from './view/orderDetail';
import { OrderConfirm } from './view/orderConfirm';
import { OrderComponent } from './order.component';
import { Router } from '@angular/router';
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { OrderPickUp } from "./view/orderPickUp";

@NgModule({
    imports: [
        SharedModule
    ],
    declarations: [
        OrderComponent,
        OrderConfirm,
        OrderDetail,
        OrderMore,
        OrderTable,
        OrderComboDetail,
        OrderPickUp
    ],
    providers: [
        InventoryService,
        TableService,
        OrderDetailService,
        OrderMoreService,
        OrderComboDetailService,
        CartService
    ],
    entryComponents: [
        OrderMore,
        OrderConfirm,
        OrderTable,
        OrderComboDetail,
        OrderPickUp
    ],
    schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class OrderModule { }